<template>
    <div class="bigdiv">
        <van-cell title="编号" :value="number" />
        <van-cell title="设备名称" :value="equipmentName" />
        <van-cell title="项目负责人" :value="projectLeader" />
        <van-cell title="位置" :value="entryName" />
        <van-cell title="进场时间" :value="approvalTime" />
        <van-cell title="型号" :value="model" />
        <van-cell title="所属部门" :value="belonging <= 5 ? `数据${belonging}部` : belonging == 6 ? '办公室' : '其他'" />
        <van-cell title="实在部门"
            :value="realDepartment <= 5 ? `数据${realDepartment}部` : realDepartment == 6 ? '办公室' : '其他'" />
        <van-cell title="序列号" :value="serialNumber" />
        <van-cell title="是否使用客户硬盘" :value="position" />
        <van-cell title="客户硬盘序列号" :value="customerDrive" />
        <van-cell title="设备使用情况" :value="usageSituation" />
        <van-cell title="机箱" :value="chassisCondition" />
        <van-cell title="备注" :value="remarks" />
        <van-cell title="维修记录" :value="maintenanceRecord" />
        <van-cell title="设备状态" :value="equipmentStatus == 0 ? '停用' : '启用'" />
        <van-cell title="流程状态" :value="processStatus" />
    </div>
</template>

<script setup>
import { defineProps, onMounted } from 'vue';
const props = defineProps({
    number: String,
    equipmentName: String,
    entryName: String,
    model: String,
    belonging: String,
    realDepartment: String,
    serialNumber: String,
    projectLeader: String,
    applicationTime: String,//申请时间
    position: String,
    model: String,
    customerDrive: String,
    position: String,
    usageSituation: String,
    equipmentStatus: Number,
    processStatus: Number,
    remarks: String,
    approvalTime: String,
    chassisCondition: String,
    maintenanceRecord: String,
})
onMounted(() => {
    console.log(props)
})
</script>

<style lang="scss" scoped>
.bigdiv {
    // margin: 0 10px 0 30px;
    width: 100vw;
    height: 75vh;
    overflow: auto;

}
</style>